#include <stdio.h>

int max(int a, int b) 
{
    int ret = a > b ? a : b;
    return ret;
}

int main() {
    int a = 10, b = 20, c = 30;
    int m1 = max(a, b);
    int m2 = max(a, 30);
    max(40+a, b);

    int m4 = max(a, max(b, c));

    printf("m1 = %d\n", m1);
    printf("m2 = %d\n", m2);
    printf("m4 = %d\n", m4);

    printf("m5 = %d\n", max(max(a, b), c));

    return 0;
}